
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<h3>测试数据双向绑定</h3>
			用户名：<input type="text" v-model="msg" />
			{{msg}}
		</div>
		<script type="text/javascript">
			const app = new Vue({
				el:"#app",
				data() {
					return{
						msg:"admin"
					}
				}
			})
		</script>
	</body>
</html>
